﻿using CRM.Services;
using Microsoft.Extensions.DependencyInjection;

namespace CRM.Extensions
{
    public static class IServiceCollectionExtensions
    {
        public static IServiceCollection AddUserService(this IServiceCollection services) {
            return services.AddTransient<UserService>();
        }

        public static IServiceCollection AddCompanyService(this IServiceCollection services)
        {
            return services.AddTransient<CompanyService>();
        }
    }
}
